package ExperimentSix.ExecutorService;

class Task implements Runnable {
    private final int taskId;

    public Task(int id) {
        this.taskId = id;
    }

    @Override
    public void run() {
        System.out.println("Task " + taskId + " 正在被运行在 " + Thread.currentThread().getName());
    }
}
